local s11__jingce = fk.CreateSkill {
  name = "s11__jingce",
}

Fk:loadTranslationTable {
  ["s11__jingce"] = "精策",
  [":s11__jingce"] = "结束阶段，若你本回合已使用的牌数不小于你的体力值，你可以摸两张牌。",

  ["$s11__jingce1"] = "方策精详，有备无患。",
  ["$s11__jingce2"] = "精兵据敌，策守如山。",
}

s11__jingce:addEffect(fk.EventPhaseStart, {
  anim_type = "drawcard",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(s11__jingce.name) and player.phase == Player.Finish and
        #player.room.logic:getEventsOfScope(GameEvent.UseCard, player.hp, function(e)
          return e.data.from == player
        end, Player.HistoryTurn) >= player.hp
  end,
  on_use = function(self, event, target, player, data)
    player:drawCards(2, s11__jingce.name)
  end,
})

return s11__jingce
